package com.cause.entiy.member;

public class Member {
    private Integer mid;

    private String mnum;

    private String mname;

    private String mename;

    private String memail;

    private String msj;

    private String mdh;

    private String maddress;

    private String mqq;

    private String mgj;

    private String mcity;

    private String mbz;

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMnum() {
        return mnum;
    }

    public void setMnum(String mnum) {
        this.mnum = mnum;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMename() {
        return mename;
    }

    public void setMename(String mename) {
        this.mename = mename;
    }

    public String getMemail() {
        return memail;
    }

    public void setMemail(String memail) {
        this.memail = memail;
    }

    public String getMsj() {
        return msj;
    }

    public void setMsj(String msj) {
        this.msj = msj;
    }

    public String getMdh() {
        return mdh;
    }

    public void setMdh(String mdh) {
        this.mdh = mdh;
    }

    public String getMaddress() {
        return maddress;
    }

    public void setMaddress(String maddress) {
        this.maddress = maddress;
    }

    public String getMqq() {
        return mqq;
    }

    public void setMqq(String mqq) {
        this.mqq = mqq;
    }

    public String getMgj() {
        return mgj;
    }

    public void setMgj(String mgj) {
        this.mgj = mgj;
    }

    public String getMcity() {
        return mcity;
    }

    public void setMcity(String mcity) {
        this.mcity = mcity;
    }

    public String getMbz() {
        return mbz;
    }

    public void setMbz(String mbz) {
        this.mbz = mbz;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Member other = (Member) that;
        return (this.getMid() == null ? other.getMid() == null : this.getMid().equals(other.getMid()))
            && (this.getMnum() == null ? other.getMnum() == null : this.getMnum().equals(other.getMnum()))
            && (this.getMname() == null ? other.getMname() == null : this.getMname().equals(other.getMname()))
            && (this.getMename() == null ? other.getMename() == null : this.getMename().equals(other.getMename()))
            && (this.getMemail() == null ? other.getMemail() == null : this.getMemail().equals(other.getMemail()))
            && (this.getMsj() == null ? other.getMsj() == null : this.getMsj().equals(other.getMsj()))
            && (this.getMdh() == null ? other.getMdh() == null : this.getMdh().equals(other.getMdh()))
            && (this.getMaddress() == null ? other.getMaddress() == null : this.getMaddress().equals(other.getMaddress()))
            && (this.getMqq() == null ? other.getMqq() == null : this.getMqq().equals(other.getMqq()))
            && (this.getMgj() == null ? other.getMgj() == null : this.getMgj().equals(other.getMgj()))
            && (this.getMcity() == null ? other.getMcity() == null : this.getMcity().equals(other.getMcity()))
            && (this.getMbz() == null ? other.getMbz() == null : this.getMbz().equals(other.getMbz()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMid() == null) ? 0 : getMid().hashCode());
        result = prime * result + ((getMnum() == null) ? 0 : getMnum().hashCode());
        result = prime * result + ((getMname() == null) ? 0 : getMname().hashCode());
        result = prime * result + ((getMename() == null) ? 0 : getMename().hashCode());
        result = prime * result + ((getMemail() == null) ? 0 : getMemail().hashCode());
        result = prime * result + ((getMsj() == null) ? 0 : getMsj().hashCode());
        result = prime * result + ((getMdh() == null) ? 0 : getMdh().hashCode());
        result = prime * result + ((getMaddress() == null) ? 0 : getMaddress().hashCode());
        result = prime * result + ((getMqq() == null) ? 0 : getMqq().hashCode());
        result = prime * result + ((getMgj() == null) ? 0 : getMgj().hashCode());
        result = prime * result + ((getMcity() == null) ? 0 : getMcity().hashCode());
        result = prime * result + ((getMbz() == null) ? 0 : getMbz().hashCode());
        return result;
    }
}